package com.wanxi.myenum;

public enum MyEnum {
    SPRING, SUMMER, AUTUMN(3), WINTER(4);
    private int num;

    public int getNum() {
        return num;
    }

    MyEnum(int i) {
        num = i;
    }

    MyEnum() {

    }
}
